﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Web.Office
{
    public partial class NewsBulletin : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                btn.Attributes.Add("onclick", "alert('hello!');");
                btn.Attributes.Add("class", "btn btn-red");
                btn.Attributes.Add("data-toggle", "navtab");
                btn.Attributes.Add("data-options", @"{id:'mynavtab1', reloadWarn:'已打开业务页面，确认将重新载入?', 
            url:'/office/test1.aspx?d=5', title:'我是一个由服务器控件注册事件打开的切换页'}"); 


            }
        }
    }
}